package com.zkthink.ceres.applet.referralrewards.domain.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**

@Author cmz
@Date 2024-05-14 15:27
*/
/**
    * 分享消费奖励表
    */
@Data
@TableName(value = "referralrewards")
public class Referralrewards {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 直接推荐奖励
     */
    @TableField(value = "DirectReward")
    private BigDecimal directreward;

    /**
     * 间接推荐奖励
     */
    @TableField(value = "IndirectReward")
    private BigDecimal indirectreward;

    /**
     * 直接推荐消费奖励比率设置
     */
    @TableField(value = "DirectRewardRate")
    private BigDecimal directrewardrate;

    /**
     * 间接推荐消费奖励比率设置
     */
    @TableField(value = "IndirectRewardRate")
    private BigDecimal indirectrewardrate;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private Long createUser;

    /**
     * 更新人
     */
    @TableField(value = "update_user")
    private Long updateUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    public static final String COL_ID = "id";

    public static final String COL_DIRECTREWARD = "DirectReward";

    public static final String COL_INDIRECTREWARD = "IndirectReward";

    public static final String COL_DIRECTREWARDRATE = "DirectRewardRate";

    public static final String COL_INDIRECTREWARDRATE = "IndirectRewardRate";

    public static final String COL_CREATE_USER = "create_user";

    public static final String COL_UPDATE_USER = "update_user";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";
}